|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IModelViewer
Interface for the 3d model viewer.
Method Summary | |
---|---|
void |
arrangeText(int width,
int height)
Arrange the text. |
void |
centerFurniture(boolean save)
Centers the furniture. |
boolean |
isRotating()
Checks if is rotating. |
boolean |
isShowDirection()
Checks if is showing direction. |
boolean |
isShowGrid()
Checks if is showing grid. |
boolean |
isShowScaleGrid()
Checks if is showing scale grid. |
boolean |
isShowStatistics()
Checks if is showing statistics. |
boolean |
isShowUserScaleGrid()
Checks if is showing user scale grid. |
void |
rotateFurniture(float rotation,
boolean save)
Rotate furniture. |
void |
setFurniture(Furniture furn)
Method to set a furniture to view. |
void |
setRotating(boolean rotating)
Sets the rotating flag. |
void |
setShowDirection(boolean showDirectionArrow)
Sets the show direction flag. |
void |
setShowGrid(boolean show)
Sets the show grid flag. |
void |
setShowScaleGrid(boolean showScaleGrid)
Sets the show scale grid flag. |
void |
setShowStatistics(boolean showStatistics)
Sets the show statistics flag. |
void |
setShowUserScaleGrid(boolean showUserScaleGrid)
Sets the show user scale grid flag. |
Method Detail |
---|
void setShowGrid(boolean show)
show
- show gridboolean isShowGrid()
boolean isRotating()
void setRotating(boolean rotating)
rotating
- the new rotating flagvoid setShowStatistics(boolean showStatistics)
showStatistics
- the new show statistics flagboolean isShowStatistics()
void setFurniture(Furniture furn)
furn
- The furniture to view.void arrangeText(int width, int height)
width
- the width of the viewer.height
- the height of the viewer.boolean isShowScaleGrid()
void setShowScaleGrid(boolean showScaleGrid)
showScaleGrid
- the new show scale grid flag.boolean isShowUserScaleGrid()
void setShowUserScaleGrid(boolean showUserScaleGrid)
showUserScaleGrid
- the new show user scale grid flag.boolean isShowDirection()
void setShowDirection(boolean showDirectionArrow)
showDirectionArrow
- the new show direction flag.void centerFurniture(boolean save)
save
- Save the change if true
.void rotateFurniture(float rotation, boolean save)
rotation
- the amount of rotation.save
- Save the change if true
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |